package org.poem.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by poem on 2017/8/30.
 */
@Component
@ConfigurationProperties(prefix = "project.creater")
public class CreaterUserInfoSetting {

    /**
     * 创建人的名字
     */
    private String name;

    /**
     * 创建人的职业
     */
    private String  profession;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }
}
